package utilities.tcpserver.events;

public class event
	extends utilities.events.event
{
	private static final long serialVersionUID = -4021424551463673094L;
	private EventCodes evtCode;
	
	public static enum EventCodes {SESSION_OPENED, MESSAGE_RECIVED, SESSION_CLOSED};
	
	public event(Object source) 
	{
		super(source);
	}
	
	public event(Object source, Object obj, EventCodes evtCode)
	{
		super(source, obj);
		this.evtCode = evtCode;
	}

	public EventCodes getEventCode() 
	{
		return evtCode;
	}
}
